package com.ruoyi.service.impl;

import java.util.List;

import com.ruoyi.domain.BasisCaseLoadingTask;
import com.ruoyi.domain.BasisUnicom;
import com.ruoyi.mapper.BasisUnicomMapper;
import com.ruoyi.service.IBasisUnicomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 展示联通Service业务层处理
 * 
 * @author wangzebing
 * @date 2025-06-25
 */
@Service
public class BasisUnicomServiceImpl implements IBasisUnicomService
{
    @Autowired
    private BasisUnicomMapper basisUnicomMapper;

    /**
     * 查询展示联通
     * 
     * @param id 展示联通主键
     * @return 展示联通
     */
    @Override
    public BasisUnicom selectBasisUnicomById(Long id)
    {
        return basisUnicomMapper.selectBasisUnicomById(id);
    }

    /**
     * 查询展示联通列表
     * 
     * @param basisUnicom 展示联通
     * @return 展示联通
     */
    @Override
    public List<BasisUnicom> selectBasisUnicomList(BasisUnicom basisUnicom)
    {
        return basisUnicomMapper.selectBasisUnicomList(basisUnicom);
    }

    /**
     * 新增展示联通
     * 
     * @param basisUnicom 展示联通
     * @return 结果
     */
    @Override
    public int insertBasisUnicom(BasisUnicom basisUnicom)
    {
        return basisUnicomMapper.insertBasisUnicom(basisUnicom);
    }

    /**
     * 修改展示联通
     * 
     * @param basisUnicom 展示联通
     * @return 结果
     */
    @Override
    public int updateBasisUnicom(BasisUnicom basisUnicom)
    {
        return basisUnicomMapper.updateBasisUnicom(basisUnicom);
    }

    /**
     * 批量删除展示联通
     * 
     * @param ids 需要删除的展示联通主键
     * @return 结果
     */
    @Override
    public int deleteBasisUnicomByIds(Long[] ids)
    {
        return basisUnicomMapper.deleteBasisUnicomByIds(ids);
    }

    /**
     * 删除展示联通信息
     * 
     * @param id 展示联通主键
     * @return 结果
     */
    @Override
    public int deleteBasisUnicomById(Long id)
    {
        return basisUnicomMapper.deleteBasisUnicomById(id);
    }

    @Override
    public int deleteBasisUnicomByLoadingId(String logingId) {
        return basisUnicomMapper.deleteBasisUnicomByLoadingId(logingId);
    }

    @Override
    public List<BasisUnicom> selectBasisUnicomByLoadingId(String logingId) {
        return basisUnicomMapper.selectBasisUnicomByLoadingId(logingId);
    }


}
